package com.example.sourcesprng.jdk17._private_interface;

import com.example.sourcesprng.jdk17._sealed.TestJDK17_Sealed_Interface;

/**
 * 私有化接口
 */
public class TestJDK17_Private_Interface implements PrivateInterface {


    @Override
    public void say() {
        System.out.println("实现类实现该方法");
    }

    @Override
    public void say1() {
        PrivateInterface.super.say1();
    }

    public static void main(String[] args) {
        TestJDK17_Private_Interface t = new TestJDK17_Private_Interface();
        t.say();
        t.say1();

    }
}
